#pragma once
#include <stdio.h>
#include <stdlib.h>
#include <assert.h>
typedef int SLDataType;
typedef struct SeqList {
	SLDataType* a;
	int size;
	int capacity;
}SeqList;


void SLInit(SeqList* psl);
void SLDestroy(SeqList* psl);
void SLPrint(SeqList* psl);
void SLPushBack(SeqList* psl, SLDataType x);
void SLPushFront(SeqList* psl, SLDataType x);
void SLPopBack(SeqList* psl);
void SLPopBack(SeqList* psl);
void SLInsert(SeqList* psl, int pos, SLDataType x);
void SLErase(SeqList* psl, int pos);
int SLFind(SeqList* psl, SLDataType x);
void SLModify(SeqList* psl, int pos, SLDataType x);
